{% extends "music/base_music.html" %}


{% block title %}{{ object.full_title }}{% endblock %}


{% block content %}
  {% load markup %}
  
  <h2 class="title">{{ object.full_title }}</h2>
  <h3 class="band"><a href="{{ object.band.get_absolute_url }}">{{ object.band.full_title }}</a></h3>

  <ul class="details">
    <li>Label: <a href="{{ object.label.get_absolute_url }}">{{ object.label.full_title }}</a></li>
    <li>Released: {{ object.released|date:"d F Y" }}</li>
    <li>Genre: {% for genre in object.genre.all %}{{ genre.title }}{% if not forloop.last %}, {% endif %}{% endfor %}</li>
    <li>ASIN: {{ object.asin }} (<a href="{{ object.amazon_url }}">Amazon</a>)</li>
  </ul>
  
  {% if object.review %}
  <div class="review">
    <h3>Review</h3>
    {{ object.review|markdown }}
  </div>
  {% endif %}
  
{% endblock %}